package com.qf.base.service;

import com.qf.base.domain.BaseVehicle;

import java.util.List;

public interface IBaseVehicleService {
    List<BaseVehicle> selectVehicleList(BaseVehicle baseVehicle);

    int insertVehicle(BaseVehicle baseVehicle);

    int updateVehicle(BaseVehicle baseVehicle);

    BaseVehicle selectVehicleById(Long vehicleId);

    int deleteVehicleByIds(Long[] vehicleIds);

    // 新增：同步更新承运商车辆数量
    void syncCarrierVehicleCount(Long carrierId);
}
